package com.eco.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xulinyu
 * @since 2024-07-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sensor")
@ApiModel(value = "Sensor对象", description = "")
public class Sensor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("日期时间")
    @TableId(value = "stime", type = IdType.AUTO)
    private Date stime;

    @ApiModelProperty("进口流速1")
    @TableField("lsy1")
    private Double lsy1;

    @ApiModelProperty("进口流速2")
    @TableField("lsy2")
    private Double lsy2;

    @ApiModelProperty("拐点流速")
    @TableField("lsy3")
    private Double lsy3;

    @ApiModelProperty("过坝段流速1")
    @TableField("lsy4")
    private Double lsy4;

    @ApiModelProperty("过坝流速2")
    @TableField("lsy5")
    private Double lsy5;

    @ApiModelProperty("出口流速")
    @TableField("lsy6")
    private Double lsy6;
}
